package com.lagou.demo03.factory;

import com.lagou.demo03.dao.StudentDelDao;
import com.lagou.demo03.dao.StudentDelDaoImp;

public class StudentDelDaoFactory {

    /**
     * 通过静态工厂方法模式来实现按StudentDelDao实现类对象的创建并返回
     * @return
     */
    public static StudentDelDao getStudentDelDao(){
        return new StudentDelDaoImp();
    }
}
